/*
 * Copyright 2010 Michael Nitsche
 *
 * This program is free software: you can redistribute it and/or modify
 * it under the terms of the GNU Lesser General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU Lesser General Public License for more details.
 *
 * You should have received a copy of the GNU Lesser General Public License
 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
 */

package de.mnit.basis.db.zugang;

import de.mnit.basis.db.konstant.DBMS;

/**
 * @author Michael Nitsche
 * 30.03.2010	Erstellt
 */
public class DBZugang implements S_DBZugang {

	public final String user;
	public final String db;
	public final String host;
	public final String pass;
	public final DBMS dbms;


	public DBZugang(DBMS dbms, String host, String db, String user, String pass) {
		this.dbms=dbms;
		this.host=host;
		this.db=db;
		this.user=user;
		this.pass=pass;
	}


	public String gHost()	{ return this.host; }
	public String gDB()		{ return this.db; }
	public String gUser()	{ return this.user; }
	public String gPass()	{ return this.pass; }
	public DBMS gDBMS()		{ return this.dbms; }

}
